﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace Framework_Tool
{
    /// <summary>
    /// Interaction logic for LearnerAssessmentProfile.xaml
    /// </summary>
    public partial class LearnerAssessmentProfile : Page
    {
        MainWindow main;

        public LearnerAssessmentProfile()
        {
            InitializeComponent();
        }

        private void takeAsmntBtn_Click_1(object sender, RoutedEventArgs e)
        {
            TakeAssessment takeAsmntWindow = new TakeAssessment(main);
            takeAsmntWindow.Content = null;
            mainContent.Children.Add(takeAsmntWindow.mainContent);
        }

        private void searchAsmntBtn_Click_1(object sender, RoutedEventArgs e)
        {

        }

        private void mainContent_Loaded_1(object sender, RoutedEventArgs e)
        {
            Database.populateAsmntProfileListview(this);
        }
    }
}
